package com.zlj.xialiao.dao;

import com.zlj.xialiao.entities.Publish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 郑霖俊
 * @create 2021-05-05 21:53
 */
@Mapper
public interface PublishMapper {
    void publish(@Param("timeFormat")String timeFormat, @Param("loginUser") Object loginUser, @Param("content_txt") String content_txt);

    List<Publish> selectAll();

    List<Publish> select(@Param("loginUser") Object loginUser);
}
